﻿namespace CatClient.Util
{
    using System;

    public class Logger
    {
        private static LogInfoWriter logger = new LogInfoWriter("Cat", 0, LogInfoWriter.LogLayout.Default);

        public static void Error(string pattern, params object[] args)
        {
            logger.ErrorFormat(pattern, args);
        }

        public static void Info(string pattern, params object[] args)
        {
            logger.InfoFormat(pattern, args);
        }

        public static void Warn(string pattern, params object[] args)
        {
            logger.WarnFormat(pattern, args);
        }
    }
}

